package com.tzbank.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_standard_actionset")
@Table(appliesTo = "mb_standard_actionset", comment = "规则动作表")
public class StandardActionset extends BaseModel implements Serializable {

	private static final long serialVersionUID = -3507723650989784499L;

	/**
	 * 动作ID
	 */
	@ApiModelProperty(value = "动作ID")
	@Column(name = "action_id", columnDefinition = "varchar(50)  NOT NULL COMMENT '动作ID'")
	private String actionId;

	/**
	 * 执行动作
	 */
	@ApiModelProperty(value = "执行动作")
	@Column(name = "action", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '执行动作'")
	private String action;

	/**
	 * 动作内容
	 */
	@ApiModelProperty(value = "动作内容")
	@Column(name = "action_content", columnDefinition = "varchar(200)  DEFAULT NULL COMMENT '动作内容'")
	private String actionContent;

	/**
	 * 动作类型
	 */
	@ApiModelProperty(value = "动作类型: 0-页面动作，1-后端动作")
	@Column(name = "action_type", columnDefinition = "INT(1) NOT NULL COMMENT '动作类型: 0-页面动作，1-后端动作'")
	private String actionType;
	
}
